#define setbit(value, bit, position) (value = (value & ((1 << position) ^ (~0))) | bit << position)
